package com.example.web.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import javax.persistence.*;

@Entity(name = "xw_sceinc_collectinfo")
public class XwSceincCollectinfo {
    /**
     * 景区收藏id
     */
    @Column(name = "scenic_collect_id")
    private Integer scenicCollectId;

    /**
     * 商家加密id
     */
    @Column(name = "business_encryptId")
    private String businessEncryptid;

    /**
     * 景区加密id（店铺id）
     */
    @Column(name = "scenic_encryptId")
    private String scenicEncryptid;

    /**
     * 景区类型（游玩……）
     */
    @Column(name = "scceincTypeName")
    private String scceinctypename;

    /**
     * 景区类型加密id
     */
    @Column(name = "scenicType_encryptId")
    private String scenictypeEncryptid;

    /**
     * 企业名称
     */
    @Column(name = "business_name")
    private String businessName;

    /**
     * 游客加密id
     */
    @Column(name = "user_encryptId")
    private String userEncryptid;

    /**
     * 游客用户名
     */
    @Column(name = "scenic_collect_username")
    private String scenicCollectUsername;

    /**
     * 收藏时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_collect_createtime")
    private Date scenicCollectCreatetime;

    public XwSceincCollectinfo(){

    }

    public XwSceincCollectinfo(String businessEncryptid, String scenicEncryptid, String scceinctypename, String scenictypeEncryptid, String businessName, String userEncryptid, String scenicCollectUsername, Date scenicCollectCreatetime) {
        this.businessEncryptid = businessEncryptid;
        this.scenicEncryptid = scenicEncryptid;
        this.scceinctypename = scceinctypename;
        this.scenictypeEncryptid = scenictypeEncryptid;
        this.businessName = businessName;
        this.userEncryptid = userEncryptid;
        this.scenicCollectUsername = scenicCollectUsername;
        this.scenicCollectCreatetime = scenicCollectCreatetime;
    }

    /**
     * 获取景区收藏id
     *
     * @return scenic_collect_id - 景区收藏id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getScenicCollectId() {
        return scenicCollectId;
    }

    /**
     * 设置景区收藏id
     *
     * @param scenicCollectId 景区收藏id
     */
    public void setScenicCollectId(Integer scenicCollectId) {
        this.scenicCollectId = scenicCollectId;
    }

    /**
     * 获取商家加密id
     *
     * @return business_encryptId - 商家加密id
     */
    public String getBusinessEncryptid() {
        return businessEncryptid;
    }

    /**
     * 设置商家加密id
     *
     * @param businessEncryptid 商家加密id
     */
    public void setBusinessEncryptid(String businessEncryptid) {
        this.businessEncryptid = businessEncryptid;
    }

    /**
     * 获取景区加密id（店铺id）
     *
     * @return scenic_encryptId - 景区加密id（店铺id）
     */
    public String getScenicEncryptid() {
        return scenicEncryptid;
    }

    /**
     * 设置景区加密id（店铺id）
     *
     * @param scenicEncryptid 景区加密id（店铺id）
     */
    public void setScenicEncryptid(String scenicEncryptid) {
        this.scenicEncryptid = scenicEncryptid;
    }

    /**
     * 获取景区类型（游玩……）
     *
     * @return scceincTypeName - 景区类型（游玩……）
     */
    public String getScceinctypename() {
        return scceinctypename;
    }

    /**
     * 设置景区类型（游玩……）
     *
     * @param scceinctypename 景区类型（游玩……）
     */
    public void setScceinctypename(String scceinctypename) {
        this.scceinctypename = scceinctypename;
    }

    /**
     * 获取景区类型加密id
     *
     * @return scenicType_encryptId - 景区类型加密id
     */
    public String getScenictypeEncryptid() {
        return scenictypeEncryptid;
    }

    /**
     * 设置景区类型加密id
     *
     * @param scenictypeEncryptid 景区类型加密id
     */
    public void setScenictypeEncryptid(String scenictypeEncryptid) {
        this.scenictypeEncryptid = scenictypeEncryptid;
    }

    /**
     * 获取企业名称
     *
     * @return business_name - 企业名称
     */
    public String getBusinessName() {
        return businessName;
    }

    /**
     * 设置企业名称
     *
     * @param businessName 企业名称
     */
    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    /**
     * 获取游客加密id
     *
     * @return user_encryptId - 游客加密id
     */
    public String getUserEncryptid() {
        return userEncryptid;
    }

    /**
     * 设置游客加密id
     *
     * @param userEncryptid 游客加密id
     */
    public void setUserEncryptid(String userEncryptid) {
        this.userEncryptid = userEncryptid;
    }

    /**
     * 获取游客用户名
     *
     * @return scenic_collect_username - 游客用户名
     */
    public String getScenicCollectUsername() {
        return scenicCollectUsername;
    }

    /**
     * 设置游客用户名
     *
     * @param scenicCollectUsername 游客用户名
     */
    public void setScenicCollectUsername(String scenicCollectUsername) {
        this.scenicCollectUsername = scenicCollectUsername;
    }

    /**
     * 获取收藏时间
     *
     * @return scenic_collect_createtime - 收藏时间
     */
    public Date getScenicCollectCreatetime() {
        return scenicCollectCreatetime;
    }

    /**
     * 设置收藏时间
     *
     * @param scenicCollectCreatetime 收藏时间
     */
    public void setScenicCollectCreatetime(Date scenicCollectCreatetime) {
        this.scenicCollectCreatetime = scenicCollectCreatetime;
    }

    @Override
    public String toString() {
        return "XwSceincCollectinfo{" +
                "scenicCollectId=" + scenicCollectId +
                ", businessEncryptid='" + businessEncryptid + '\'' +
                ", scenicEncryptid='" + scenicEncryptid + '\'' +
                ", scceinctypename='" + scceinctypename + '\'' +
                ", scenictypeEncryptid='" + scenictypeEncryptid + '\'' +
                ", businessName='" + businessName + '\'' +
                ", userEncryptid='" + userEncryptid + '\'' +
                ", scenicCollectUsername='" + scenicCollectUsername + '\'' +
                ", scenicCollectCreatetime=" + scenicCollectCreatetime +
                '}';
    }
}